package com.dk.academic.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Create by 廉雪峰
 * Date: 2018/11/5 19:18
 * blog: www.soulblack.top
 * Description:
 */
@Controller
@RequestMapping(value = "/comment")
public class CommentController {

    // 初始页面
    @RequestMapping(value = "")
    public String index() {
        return "comment";
    }

    // 评论保存页面
    @RequestMapping(value = "/save")
    public String save() {
        return "save";
    }

    @RequestMapping(value = "/list")
    public String list() {
        return "theme/comment/list";
    }
}
